let dialogAutoWidth = "40%"
// 屏幕宽度
let windowWidth = 0
// 屏幕高度
let windowHeight = 0
// 生命周期
getWindowResize()
window.addEventListener('resize', getWindowResize)
// 获取屏幕尺寸
function getWindowResize() {
    windowWidth = window.innerWidth
    if (windowWidth < 768) {
        dialogAutoWidth = "90%"
    }else{
        dialogAutoWidth = "40%"
    }
    windowHeight = window.innerHeight
}
export {
    dialogAutoWidth
}